package com.milotnt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "会员实体类")
@TableName("member")
@Data
public class MemberEntity extends BaseEntity{

    @Schema(description = "会员账号")
    @TableField(value = "member_account")
    private Long memberAccount;

    @Schema(description = "会员密码")
    @TableField("member_password")
    private String memberPassword;

    @Schema(description = "会员名称")
    @TableField("member_name")
    private String memberName;

    @Schema(description = "会员性别")
    @TableField("member_gender")
    private String memberGender;

    @Schema(description = "会员年龄")
    @TableField("member_age")
    private Long memberAge;

    @Schema(description = "会员身高")
    @TableField("member_height")
    private Long memberHeight;

    @Schema(description = "会员体重")
    @TableField("member_weight")
    private Long memberWeight;

    @Schema(description = "会员电话")
    @TableField("member_phone")
    private String memberPhone;

    @Schema(description = "会员卡时间")
    @TableField("card_time")
    private String cardTime;

    @Schema(description = "购买课时")
    @TableField("card_class")
    private Float cardClass;

    @Schema(description = "剩余课时")
    @TableField("card_next_class")
    private Float cardNextClass;
}
